-
Home
-
WP 2FA – Two-factor authentication for WordPress
-
2.3.0
-
Code
-
Classes
- Authentication
Total Complexity |
55 |
Dependencies |
7 |
Dependents |
6 |
Total lines |
560 |
Lines of code |
249 |
Logical lines of code |
134 |
Comment lines |
223 |
Methods |
22 |
Properties |
4 |
Methods 22
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_user_totp_key() |
S |
54 |
5 |
20 |
base32_decode() |
S |
54 |
4 |
20 |
base32_encode() |
S |
58 |
4 |
15 |
pack64() |
S |
58 |
4 |
14 |
decrypt_key_if_needed() |
S |
63 |
4 |
10 |
is_valid_authcode() |
S |
57 |
3 |
15 |
validate_token() |
S |
62 |
3 |
11 |
get_apps() |
S |
49 |
1 |
39 |
calc_totp() |
S |
56 |
2 |
16 |
abssort() |
S |
66 |
3 |
8 |
get_code() |
S |
63 |
3 |
10 |
get_user_token() |
S |
68 |
3 |
7 |
get_google_qr_code() |
S |
59 |
2 |
13 |
is_valid_key() |
S |
66 |
2 |
8 |
validate_base32_string() |
S |
69 |
2 |
6 |
generate_key() |
S |
64 |
2 |
9 |
get_login_attempts_instance() |
S |
71 |
2 |
6 |
user_has_token() |
S |
67 |
2 |
8 |
generate_token() |
S |
72 |
1 |
5 |
get_base32_characters() |
S |
80 |
1 |
3 |
delete_token() |
S |
80 |
1 |
3 |
check_number_of_attempts() |
S |
79 |
1 |
3 |